package com.atguigu.guli.service.statistics.fegin;

import com.atguigu.guli.service.result.R;
import com.atguigu.guli.service.statistics.fegin.impl.MemberFeginImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@Component
@FeignClient(value = "service-ucenter",fallback = MemberFeginImpl.class)
public interface MemberFegin {
    @GetMapping("/api/ucenter/member/getRegisterNum/{date}")
    public R getRegisterNum(@PathVariable("date") String date);
}
